<div id="box3_1">
	<form class="themsp" action="{Router::url('/', true)}san_pham/sua?id_sp={$thongTinSP['SanPhamModel']['id_sp']}" method="post">
		<h1 class="h1tracuu">Thêm sản phẩm</h1>
		<a class="teninput">Mã sản phẩm</a>
		<input type="text" class="form-control input_tracuu" placeholder="Mã sản phẩm" name="ma_sp" value="{$thongTinSP['SanPhamModel']['ma_sp']}">
		<a class="teninput">Tên sản phẩm</a>
		<input type="text" class="form-control input_tracuu" placeholder="Tên sản phẩm" name="ten_sp" value="{$thongTinSP['SanPhamModel']['ten_sp']}">
		<a class="teninput">Giới tính</a>
		<select class="form-control input_tracuu" name="gioi_tinh">
			<option value="">Giới tính</option>
			{foreach $dsGioiTinh as $key => $value}
				<option value="{$key}" {$value['checked']}>{$value['value']}</option>
            {/foreach}
		</select>
		<a class="teninput">Chọn nhà sản xuất</a>
		<select class="form-control input_tracuu" name="id_nsx">
			<option value="">Nhà sản xuất</option>
			{foreach $dsNSX as $key => $value}
				<option value="{$key}" {$value['checked']}>{$value['value']}</option>
	        {/foreach}
		</select>
		<a class="teninput">Từ khóa</a>
		<input type="text" class="form-control input_tracuu" placeholder="Từ khóa" name="tu_khoa" value="{$thongTinSP['SanPhamModel']['tu_khoa']}">

		<a class="teninput">Trạng thái :</a>
		{foreach $dsTrangThai as $key => $value}
			<label class="tentt" for="trang_thai_{$key}">{$value['value']}</label>
			<input type="radio" name="trang_thai" id="trang_thai_{$key}" value="{$key}" {$value['checked']}>
        {/foreach}
		<br>

		<a class="teninput">Mô tả tóm tắt :</a>
		<textarea class="form-control texttomtat" name="mo_ta_ngan" rows="4" cols="50">{$thongTinSP['SanPhamModel']['mo_ta_ngan']}</textarea>
		{if $thongTinSP['SanPhamModel']['hinh_anh']}
		<div style="width:165px; height:115px;">
			{$this->Html->image("hinhsp/{$thongTinSP['SanPhamModel']['hinh_anh']}",['class' => "hinhsp"])}
		</div>
		{/if}
		<input class="nutup" type="file" name="pic">
		<br>
		<button type="submit" class="but but-default but-sm nut_tracuu">
			<span class="icon icon-plus"></span> Thêm sản phẩm
		</button>
	</form>
	<div class="box_sp_tomtat">
		
	</div>
	<div class="cl"></div>
	<div class="cr"></div>
</div>